/**
 * Create by yz_wy_power on 2018/7/4
 */

/**
 * order --发布后台管理---urls
 */
const state = {
    login: '/orderDish/login',// 登录-order-system
    loginOut: '/orderDish/loginOut', // 退出登录
    saveOrderType: '/orderDish/orderType/save', //保存、禁用、删除order-type
    getAllOrderType: '/orderDish/getAllOrderType',// 获取所有order-type
    getAllNewestOrderInfo: 'orderDish/getAllOrderInfo', // 获取 所有 newest order info
    getOrderBasicConfig: '/orderDish/getOrderBasicConfig',// 获取order basic config
    saveOrderBasicConfig: '/orderDish/orderBasicConfig/save', //保存order basic config
  }
;
const getters = {
  'getUrl': state => (key) => {
    return state[key]
  }
};
const actions = {
  // orderPage({commit})
};
const mutations = {};
export default {
  state,
  getters,
  actions,
  mutations
}
